<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    let goods = {
      'goods-name': '小米10青春版',
      num: 100012816024,
      weight: '0.55kg',
      address: '中国大陆',
    }
    // 改
    goods.name = '小米10plus'
    // 增   增加一个新属性值
    goods.color = '粉色'
    // 删
    delete goods.num
    // 查
    // console.log(goods.name);
    console.log(goods);
    console.log(goods['goods-name']);
  </script>
</body>

</html>